package com.surprise.bweb.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * IdRes.java
 * @author nick
 * @since 2015年9月6日
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class IdRes extends CommonRes {
	private Result data;
	
	public IdRes(long id) {
		this.setData(new Result(id));
	}
	
	@Data
	@Accessors(chain=true)
	@NoArgsConstructor
	@AllArgsConstructor
	public static class Result {
		private long id;
	}
}
